
@font-face {
    font-family: 'icomoon';
    src:  url('../font/icomoon.eot?tm2q5y');
    src:  url('../font/icomoon.eot?tm2q5y#iefix') format('embedded-opentype'),
      url('../font/icomoon.ttf?tm2q5y') format('truetype'),
      url('../font/icomoon.woff?tm2q5y') format('woff'),
      url('../font/icomoon.svg?tm2q5y#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }

@mixin fontColor {
    color: #f22e00;
}
@mixin liBgc {
    background-color: #f4f4f4;
}
body{
    background-color: #eae8eb;
}

.w{
    width: 1190px;
    margin: 0 auto;
}
.header{
    width: 100%;
    line-height: 36px;
    font-size: 12px;
    color: #6c6c6c;
    background-color: #f5f5f5;

    .headLeft{
        float: left;

        & >li{
            float: left;
            padding: 0 6px;
        }

        .district{
            font-family: 'icomoon';
            position: relative;

            &:hover{
                background-color: #fff;
            }

            &:hover .diSub{
                display: block;
                cursor: pointer;
            }

            .diSub{
                position: absolute;
                top: 36px;
                left: 0;
                width: 242px;
                height: 26.5px*10;
                padding: 8px 0;
                overflow-y: scroll;
                background-color: #fff;
                display: none;
                z-index: 9999999;

                li{
                    padding-left: 8px;
                    line-height: 29px;

                    &:hover{
                        @include liBgc();
                    }
                }
            }
        }
        .tips{
            position: relative;
            .login{
                @include fontColor();
                margin-right: 5px;
            }
    
            .regist{
                color: #6c6c6c;
            }
    
            .regist:hover{
                @include fontColor();
            }

            .exit{
                width: 100px;
                height: 30px;
                position: absolute;
                top: 29px;
                left: 0;
                background: #fff;
                display: none;

                &:hover{
                    cursor: pointer;
                }
            }
        }


        .mobile:hover{
            @include fontColor();
        }
    }

    .headRight{
        float: right;
        &>li{
            float: left;
            padding: 0 6px;
            position: relative;

            i{
                font-family: 'icomoon';
            }

            &:not([class]):hover{
                @include fontColor();
            }

            .subNav{
                width: max-content;
                padding: 8px 0;
                font-size: 12px;
                line-height: 29px;
                color: #6c6c6c;
                background-color: #fff;
                position: absolute;
                top: 36px;
                left: 0;
                display: none;
                z-index: 99999;

                li{
                    padding: 0 8px;
                }
            }

        }
        .myTaobao:hover{
            background-color: #fff;
            @include fontColor();

            .subNav{
                display: block;

                li{
                    &:hover{
                        background-color: #f4f4f4;
                        cursor: pointer;
                    }
                }
            }
        }
        .shopCar{
            .icon,.count{
                font-weight: 800;
                @include fontColor();
            }
            .subNav li{
                span{
                    float: left;
                    margin-left: 20px;
                }
                a{
                    float: right;
                    background-color: #ff4400;
                    color: #fff;
                    line-height: 29px;
                    padding: 0 8px;
                }
            }



            &:hover{
                background-color: #fff;
                @include fontColor();
    
                .subNav{
                    display: block;
                }
            }
        }

        .separated{
            color: #e2dddd;
        }
    }
}

.search{
    padding-top: 21px;
    height:97px;
    
    .logo{
        float: left;
        width: 190px;
        height: 80;
        margin-top: 10px;
        text-align: center;
    }

    .midBar{
        float: left;
        width: 630px;
        height: 67px;
        margin-left: 95px;
        margin-top: 12px;

        .searchBar{
            height: 42px;
            border: 1px solid #ff5000;
            background-color: #fff;
            border-radius: 21px;
            display: flex;

            .baby{
                width: 72px;
                height: 40px;
                line-height: 40px;
                text-align: center;
                font-size: 12px;
                color: #333333;
                font-family: 'icomoon';
                border-right: 1px solid #f5f5f5;
                position: relative;

                span{
                    margin-right: 5px;
                    margin-left: 20px;
                }

                .subBaby{
                    position: absolute;
                    top: 30px;
                    left: 2px;
                    width: 72px;
                    text-align: center;
                    background-color: #fff;
                    display: none;

                    a{
                        display: block;
                        line-height: 29px;
                        margin: 5px 0;
                    }
                }

                &:hover .subBaby{
                    display: block;

                    a:hover{
                        font-weight: 900;
                        color: #ff651e;
                    }
                }
            }

            .searchConBar{
                flex: 1;
                position: relative;

                .searchCon{
                    float: left;
                    width: 470px;
                    height: 24px;
                    padding: 6px 0;
                    border: 0;
                    text-indent: 10px;
                    margin-top: 3px;
                    outline: none;

                    &::-webkit-input-placeholder {
                        text-indent: 28px;
                        color: #aaaaaa;
                        font-size: 13px;
                    }
                }
                .searchBtn{
                    float: right;
                    width: 73px;
                    height: 34px;
                    text-align: center;
                    line-height: 34px;
                    background-image: linear-gradient(to right,#ff9000 0,#ff5000 100%);
                    border-radius: 17px;
                    margin: 4px;
                    color:#fff;
                    font-size: 16px;
                    font-weight: 500;
                }
                .searchIcon{
                    position: absolute;
                    font-family: 'icomoon';
                    top: 14px;
                    left: 8px;
                    color: #aaaaaa;
                }
            }
        }

        .searchNav{
            height: 20px;
            padding-top: 5px;
            padding-right: 41px;
            font-size: 12px;
            line-height: 20px;
            color: #3c3c3c;

            li{
                float: left;

                .hot{
                    @include fontColor();
                }

                a:hover{
                    color: #f22e00;
                }
            }
            li+li{
                margin-left: 5px;
            }
        }
    }

    .redEnvelope{
        float: right;
        
        margin-right: 88px;

        a{
            display: block;
            width: 76px;
            height: 90px;
            background-color: #fff;

            span{
                display: block;
                line-height: 20px;
                font-size: 12px;
                text-align: center;
                color: #ff5000;
            }

            img{
                width: 62px;
                height: 62px;
                margin: 0 7px;
            }
        }
    }
}

.navHead{
    padding-top: 6px;
    height: 30px;
    line-height: 30px;
    background-color: #fff;
    border-radius: 18px 18px 0 0;

    h2{
        float: left;
        width: 190px;
        text-align: center;
        color: #ff6200;
    }

    .navOne{
        float: left;

        li{
            float: left;
            margin:0 3px;
            padding: 0 4px;
            font-size: 14px;

            a{
                display: block;
                padding: 0 5px;
            }

            .tmall{
                color: #ff5db8;
            }

            .bargain{
                color: #ff4184;
            }
            .tmallSup{
                color: #33c900;
            }
        }
    }
    .navTwo{
        float: left;

        li{
            float: left;
            margin:0 3px;
            padding: 0 4px;
            font-size: 14px;

            a{
                display: block;
                padding: 0 5px;

                &:hover{
                    @include fontColor();
                }
            }

            &:nth-child(1){
                line-height: 27px;
            }
        }
    }
    .navThree{
        @extend .navTwo;
    }

}

.nav{
    height: 524px;
    background-color: #fff;
    // overflow: hidden;

    .navBar{
        float: left;
        padding-top: 6px;
        padding-bottom: 3px;
        font-size: 14px;
        color: #666666;
        position: relative;

        .navAct{
            background-color: #ffe4dc;
            color: #ff5000;
        }

        li{
            width: 145px;
            height: 32px;
            line-height: 32px;
            padding: 1px 20px 1px 25px;
            position: relative;

            &:hover+.subNavBar{
                display: block;
            }

            a{
                margin:0 4px;

                &:hover{
                    border-bottom: 1px solid #ff5000;
                }
            }

            .navIcon{
                font-size: 12px;
                position: absolute;
                right: 5px;
                top: 3px;
                font-family: 'icomoon';
                color: #7e8c8d;
            }

        }
        .subNavBar{
            position: absolute;
            top: 0;
            left: 189px;
            width: 714px;
            height: 522px;
            border: 1px solid #f94a14;
            border-radius: 12px;
            display: none;

        }
    }

    .banner{
        float: left;
        width: 520px;
        height: 512px;
        margin: 10px 0 0 10px;

        .core{
            width: 520px;
            height: 280px;
            border-radius: 12px;
            overflow: hidden;
            position: relative;

            &:hover .left{
                display: block;
            }
            &:hover .right{
                display: block;
            }

            .imgBox{
                width: max-content;
                font-size: 0px;
                position: absolute;
                top: 0;
                left: 0;

                img{
                    width: 520px;
                    height: 280px;
                }
            }

            .banNavBar{
                height: 13px;
                position: absolute;
                bottom: 10px;
                left: 50%;
                margin-left: -35px;
                border-radius: 6px;
                background: rgba(255,255,255,.3);
                
                li{
                    float: left;
                    width: 8px;
                    height: 8px;
                    background-color: #fff;
                    margin: 3px;
                    border-radius: 50%;

                    &:hover{
                        cursor: pointer;
                    }
                }

                .banAct{
                    background-color: #ff5000;
                }

            }
            .left{
                position: absolute;
                left: 0;
                top: 50%;
                margin-top: -15px;
                height: 30px;
                width: 20px;
                background: rgba(0,0,0,.3);
                line-height: 30px;
                // text-align: center;
                padding-left: 5px;
                box-sizing: border-box;
                border-radius: 0 15px 15px 0;
                color: #fff;
                font-size: 16px;
                font-family: 'icomoon';
                display: none;
                user-select: none;

                &:hover{
                    background: rgba(0,0,0,.6);
                    cursor: pointer;
                }
            }
            .right{
                position: absolute;
                right: 0;
                top: 50%;
                margin-top: -15px;
                height: 30px;
                width: 20px;
                background: rgba(0,0,0,.3);
                line-height: 30px;
                // text-align: center;
                box-sizing: border-box;
                padding-left: 5px;
                border-radius:15px 0 0 15px;
                color: #fff;
                font-size: 16px;
                font-family: 'icomoon';
                display: none;
                user-select: none;

                &:hover{
                    background: rgba(0,0,0,.6);
                    cursor: pointer;
                }
            }
        }

        .tmallBan{
            width: 520px;
            height: 230px;
            margin-top: 1px;
            
            .tmall_hd{
                display: flex;
                justify-content: space-between;
                padding-top: 6px;
                font-size: 14px;
                line-height: 24px;
                .ideal{
                    margin-left: 5px;
                }
                span:nth-child(2){
                    margin-right: 5px;
                    color: #999999;

                    i{
                        color: #f22e00;
                    }
                    em{
                        color: #333;
                    }
                }
                img{
                    vertical-align: top;
                }
            }

            .tmall_bd{
                width: 520px;
                height: 200px;
                background-color: #f6f6f6;
                box-sizing: border-box;
                border-radius: 12px 0 0 12px;
                position: relative;
                overflow: hidden;

                &:hover .bd-left{
                    display: block;
                }
                &:hover .bd-right{
                    display: block;
                }

                .bdBar{
                    height: 200px;
                    width: max-content;
                    position: absolute;
                    top: 0;
                    left: 0;
                    display: flex;
                    align-items: center;

                    .bdOne{
                        

                        a{
                            width: 250px;
                            border-radius: 12px;
                            overflow: hidden;
                            float: left;
                            margin: 0 5px;

                            img{
                                width: 100%;
                            }
                        }
                    }
                }
                .bd-left{
                    position: absolute;
                    left: 0;
                    top: 50%;
                    margin-top: -15px;
                    height: 30px;
                    width: 20px;
                    background: rgba(0,0,0,.3);
                    line-height: 30px;
                    // text-align: center;
                    padding-left: 5px;
                    box-sizing: border-box;
                    border-radius: 0 15px 15px 0;
                    color: #fff;
                    font-size: 16px;
                    font-family: 'icomoon';
                    display: none;
                    user-select: none;
    
                    &:hover{
                        background: rgba(0,0,0,.6);
                        cursor: pointer;
                    }
                }
                .bd-right{
                    position: absolute;
                    right: 0;
                    top: 50%;
                    margin-top: -15px;
                    height: 30px;
                    width: 20px;
                    background: rgba(0,0,0,.3);
                    line-height: 30px;
                    // text-align: center;
                    box-sizing: border-box;
                    padding-left: 5px;
                    border-radius:15px 0 0 15px;
                    color: #fff;
                    font-size: 16px;
                    font-family: 'icomoon';
                    display: none;
                    user-select: none;
    
                    &:hover{
                        background: rgba(0,0,0,.6);
                        cursor: pointer;
                    }
                }
                .bdTwo{
                    display: none;
                }
            }
        }
    }

    .subColumn{
        float: left;
        width: 160px;
        height: 512px;
        margin-top: 10px;
        margin-right: 10px;
        margin-left: 10px;

        .subColumnHd{
            height: 280px;
        }
        .subColumnBd{
            height: 230px;

            h3{
                line-height: 24px;
                padding-top: 6px;
                font-weight: 400;
                font-size: 12px;
                color: #a1a1a1;
            }
        }
    }

    .colRight{
        width: 290px;
        height: 524px-10px;
        margin-top: 10px;
        float: left;

        .member{
            height: 132px;
            padding: 3px 0 2px 0;
            text-align: center;
            background: url(../images/userBg.png) no-repeat;
            background-size: 290px 132px;

            img{
                border-radius: 50%;
            }

            p{
                margin-top: 3px;
            }

            .memberTjb{
                margin-top: 2px;
                a{
                    display: inline-block;
                    font-size: 16px;
                    padding: 0px 10px 0px 20px;
                    position: relative;
                    color: #ff5000;
                    background-color: #ffe4db;
                    border-radius: 8px;

                    .memberIcon{
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        top: 0;
                        left: 0;
                        background-image: url(../images/taobao.png);
                        background-repeat: no-repeat;
                        background-position: 0 -573px;
                    }
                    .tjbIcon{
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        top: 0;
                        left: 0;
                        background-image: url(../images/taobao.png);
                        background-repeat: no-repeat;
                        background-position: 0 -528px;
                    }

                }
            }
            .memberLogin{
                margin-top: 2px;
                height: 40px;
                line-height: 40px;
                padding-left: 15px;
                color: #fff;
                // display: none;

                a{
                    float: left;
                    width: 75px;
                    line-height: 25px;
                    background-image: linear-gradient(to right,#ff5000 0,#ff6f06 100%);
                    background-repeat: repeat-x;
                    margin-right: 7px;
                    border-radius: 4px;
                    margin-top: 8px;
                }
                .mlogin{
                    width: 92px;
                }
            }

            .order{
                display: flex;
                justify-content: space-around;
                margin-top: 5px;
                display: none;

                li{
                    width: 67px;
                    height: 36px;
                    text-align: center;

                    .count1{
                        color: #f00;
                        font-size: 16px;
                        font-weight: 800;
                        font-family: '微软雅黑';
                    }

                    p{
                        font-size: 12px;
                    }
                }
            }
        }

        .tbh-tipoff{
            width: 290px;
            height: 65px;

            img{
                width: 100%;
            }
        }

        .tbhNotice{
            width: 290px;
            height: 70px;
            padding-top: 7px;

            .noticeHd{
                height: 24px;
                margin-top: 4px;
                padding: 0 8px;

                .underline{
                    border-bottom: 2px solid #ff6200;
                }

                li{
                    float: left;
                    width: (274px/5);
                    line-height: 20px;
                    text-align: center;

                    &:hover{
                        color: #ff6f06;
                    }
                }
            }
            .noticeBd{
                height: 25px;
                padding: 6px 0;
                margin: 0 12px;
                overflow: hidden;
                
                li{
                    font-size: 12px;
                    line-height: 25px;
                    display: none;

                    &:hover{
                        color: #ff4400;
                    }
                }
            }
        }

        .tbhConve{
            width: 290px;
            height: 155px;

            li{
                float: left;
                width: 70px;
                height: 75px;
                border: 1px solid #f4f4f4;
                border-left: 0;
                text-align: center;
                
                .bgIcon{
                    display: inline-block;
                    width: 24px;
                    height: 24px;
                    margin-top: 11px;
                    background-image: url(../images/taobao.png);
                    background-repeat: no-repeat;
                }

                p{
                    line-height: 24px;
                    font-size: 12px;
                }

                &:hover{
                    color: #ff4400;
                }
            }


            li:nth-child(1) .bgIcon{
                background-position: 0 0;
            }
            li:nth-child(2) .bgIcon{
                background-position: 0 -90px;
            }
            li:nth-child(3) .bgIcon{
                background-position: 0 -45px;
            }
            li:nth-child(4) .bgIcon{
                background-position: 0 -134px;
            }
            li:nth-child(5) .bgIcon{
                background-position: 0 -175px;
            }
            li:nth-child(6) .bgIcon{
                background-position: 0 -222px;
            }
            li:nth-child(7) .bgIcon{
                background-position: 0 -264px;
            }
            li:nth-child(8) .bgIcon{
                background-position: 0 -310px;
            }
            
        }

        .aliApp{
            width: 290px;
            height: 77px;

            .title{
                line-height: 30px;
                padding-left: 14px;

                h3{
                    float: left;
                    font-size: 14px;
                }

                a{
                    float: right;
                    font-family: 'icomoon';
                    font-size: 12px;

                    &:hover{
                        color: #ff6f06;
                    }
                }
            }

            .App{
                height: 44px;
                display: flex;
                justify-content: space-around;
                padding: 0 10px;

                li{
                    width: 32px;
                    height: 32px;
                    position: relative;

                    img{
                        width: 100%;
                        height: 100%;
                    }

                    .scan{
                        position: absolute;
                        top: -111px;
                        left: -25px;
                        width: 90px;
                        height: 102px;
                        background-color: #fff;
                        border: 1px solid #dedede;
                        text-align: center;
                        display: none;
                        z-index: -1;
                        
                        img{
                            width: 80px;
                            height: 80px;
                        }
                    }

                    &:hover .scan{
                        display: block;
                        z-index: 99;
                    }
                }
            }
        }
    }
}

.goodStuff{
    height: 340px;
    background-color: #fff;
    overflow: hidden;

    .goodTitle{
        height: 24px;
        margin: 20px 0;
        padding-left: 20px;

        h3{
            float: left;
            font-size: 22px;
            font-size: 700;
        }
        .imgTitle{
            float: left;
            margin-left: 5px;
            margin-top: 3px;
        }
    }
    
    .goodGoods{
        height: 276px;
        display: flex;
        justify-content: space-evenly;

        li{
            width: 215px;
            // text-align: center;

            a:hover .goodsName{
                color: #f00;
            }
            .goodImg{
                width: 215px;
                height: 215px;
                border-radius: 12px;
                overflow: hidden;

                img{
                    width: 100%;
                    height: 100%;
                }
            }

            .goodsName{
                width: 180px;
                height: 20px;
                font-weight: 100;
                padding-left: 5px;
                line-height: 20px;
                overflow: hidden;
            }

            .goodsDetail{
                color: #999999;
                padding-left: 5px;
                overflow:hidden;
                white-space:nowrap;
                text-overflow:ellipsis;
                font-size: 12px;
                line-height: 20px;
            }
        }
    }
}

.layerInner{
    background-color: #fff;
    ul{
        display: flex;
        justify-content: space-evenly;
        li{
            width: 375px;
            margin: 20px 0 0 0;
            border-radius: 12px;
            overflow: hidden;
        }
    }
}

.guees{
    background-color: #fff;
    overflow: hidden;
    .guees-hd{
        height: 24px;
        margin: 20px 0;
        padding-left: 20px;

        h3{
            float: left;
            font-size: 22px;
            font-size: 700;
        }
        .img-hd{
            float: left;
            margin-left: 5px;
            margin-top: 3px;
        }
    }

    .gueesGoods{
        padding-left: 20px;

        li{
            float: left;
            width: 215px;
            height: 319px;
            padding: 7px 7px 0 7px;
            border-radius: 12px;
            background-color: #fff;
            transition: all 0.5s;
            position: relative;



            .gueesImg{
                width: 215px;
                height: 215px;
                border-radius: 12px;
                overflow: hidden;

                img{
                    width: 100%;
                    height: 100%;
                }
            }
            p{
                height: 44px;
                line-height: 22px;
                margin-top: 9px;
                font-size: 16px;
                overflow: hidden;
            }

            .foot{
                height: 22px;
                line-height: 22px;
                margin-top: 11px;

                .moneySymbol{
                    font-size: 14px;
                    color: #f00;
                }
                .money{
                    font-size: 20px;
                    margin: 0 3px 0 0;
                    color: #ff4400;
                }
                .perNum{
                    font-size: 14px;
                    color: #999eba;
                }
            }

            &:hover{
                box-shadow: 0px 0px 2px rgba(0,0,0,.3);
                cursor: pointer;

                .similar{
                    display: block;
                }
            }

            .similar{
                display: none;
                position: absolute;
                bottom: 0;
                left: 0;
                height: 86px;
                width: 229px;
                background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.69) 12%, rgba(255, 255, 255, 0.97) 28%, #ffffff 47%);

                .view{
                    display: block;
                    width: 100%;
                    height: 100%;

                    p{
                        width: 200px;
                        height: 32px;
                        line-height: 32px;
                        text-align: center;
                        background-image: linear-gradient(145deg, #ff9000 0%, #ff5000 77%);
                        border-radius: 16px;
                        font-size: 18px;
                        margin: 0 auto;
                        margin-top: 36px;
                        color: #fff;
                    }
                }
            }
        }
    }
}

.end{
    height: 50px;
    background-color: #fff;
    position: relative;

    p{
        width: 84px;
        text-align: center;
        margin: 0 auto;
        line-height: 50px;
        color: #ccccd0;
        font-size: 18px;

        &::before{
            content: ' ';
            width: 60px;
            height: 0;
            border-top: 1px solid #e6e6e6;
            line-height: 0;
            position: absolute;
            top: 50%;
            left: 475px;
        }
        &::after{
            content: ' ';
            width: 60px;
            height: 0;
            border-top: 1px solid #e6e6e6;
            line-height: 0;
            position: absolute;
            top: 50%;
            right: 475px;
        }
    }
    
}

.helper{
    padding-top: 40px;
    height: 140px;
    background-color: #fff;
    border-radius: 0 0 18px 18px;
}